<?php
if (! defined ( FLAG )){ trigger_error('Access error!', E_USER_ERROR); die; }

/**
 * Настройки соединения с БД
 * 
 **/
$CONFIG ['database'] = array('username'=>'root','password'=>'','database'=>'driver');
//$CONFIG ['database'] = array('username'=>'sogimu','password'=>'amigos91','database'=>'sogimu');

$CONFIG ['database'] ['hostname'] = 'localhost';
$CONFIG ['database'] ['type'] = 'mysql';
$CONFIG ['database'] ['auto_connect'] = true;
$CONFIG ['database'] ['debug'] = true;
$CONFIG ['database'] ['charset'] = 'utf8';


/**
 * Настройки шаблонизатора
 * 
 **/
 
$CONFIG ['templaer'] ['compile_check'] = true;
$CONFIG ['templaer'] ['debugging'] = false;
$CONFIG ['templaer'] ['compile_dir'] = 'templates/templates_c';
$CONFIG ['templaer'] ['template_dir'] = '/';
$CONFIG ['templaer'] ['config_dir'] = LIBS_DIR.'/smarty/configs/';
$CONFIG ['templaer'] ['cache_dir'] = '';

/**
 * Настройки CMF
 * 
 **/
 
$CONFIG ['root'] = '/Driver';
//$CONFIG ['root'] = '';
$CONFIG ['SYSPAGE']['404'] = '404';
$CONFIG ['SYSPAGE']['main_page'] = '1';

global $STR;
$STR->setVar(array('CONFIG'),$CONFIG);
?>